package JdbcTest.Homework.books.view;

import JdbcTest.Homework.books.pojo.Books;
import JdbcTest.Homework.books.services.BookServices;
import JdbcTest.Homework.books.services.Impl.BookServicesImpl;

public class viewTest {
    private static BookServices bookServices = new BookServicesImpl();
    public static void main(String[] args) {
        System.out.println(bookServices.select());
        Books books = new Books(1,"java",5,"从入门到放弃");
        System.out.println(bookServices.update(books)?"修改成功":"修改失败");
    }
}
